<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .div_1{
            color: lightgreen;
            font-size: 200%;
            text-align: center;
        }
        body{
            margin: 0px;
            padding: 0px;
            background: white;
        }
        .div_3{
            margin-top: 60px;
            /*color: rgb(125,204,223);*/
            color: black;
        }
        .text{
            font-size: 150%;
            margin-top: 200px;
            color: rgb(125,204,223);
        }
    </style>
</head>
<body onload="settime()">
<div class="div_1">
    <div>
        <img src="img/注册Top背景.png" style="width: 100%;">
    </div>
    <div class="div_3">
        登录成功，<span id = "second">5</span>秒后跳转到登录页面
        <br>
        <a href="HTML/登录.html" >手动跳转</a>

        <p class="text">When you take the first step, you're half done</p>
    </div>
</div>
</body>
<script>
    var time = document.getElementById("second");
    var tataltime = 5;
    function time_reduce() {
        tataltime--;
        time.innerHTML = tataltime;
        if(tataltime==0)
            turn_to();
    }
    function turn_to() {
        window.location = "HTML/登录.html";
    }
    function settime() {
        setInterval(time_reduce,1000);
    }
</script>
</html>